import request from '@/utils/request'

// 查询家校学生列表
export function listJxstudent(query) {
  return request({
    url: '/jx/jxstudent/list',
    method: 'get',
    params: query
  })
}

// 查询家校学生详细
export function getJxstudent(id) {
  return request({
    url: '/jx/jxstudent/' + id,
    method: 'get'
  })
}

// 新增家校学生
export function addJxstudent(data) {
  return request({
    url: '/jx/jxstudent',
    method: 'post',
    data: data
  })
}

// 修改家校学生
export function updateJxstudent(data) {
  return request({
    url: '/jx/jxstudent',
    method: 'put',
    data: data
  })
}

// 删除家校学生
export function delJxstudent(id) {
  return request({
    url: '/jx/jxstudent/' + id,
    method: 'delete'
  })
}

// 导出家校学生
export function exportJxstudent(query) {
  return request({
    url: '/jx/jxstudent/export',
    method: 'get',
    params: query
  })
}